package cn.com.open.errorquestion.model;

import cn.com.open.errorquestion.util.SnowflakeIdWorker;

public class PagerQuestion {

    /**
     * 唯一标识（雪花算法）
     */
//    SnowflakeIdWorker snowflakeIdWorker = new SnowflakeIdWorker(0,0);
//    private Long id =   snowflakeIdWorker.nextId();

    private Long id;
    /**
     * 试卷标识
     */
    private String paperId;

    /**
     * 试题标识
     */
    private String questionId;

    public PagerQuestion() {
    }

    public PagerQuestion(Long id, String paperId, String questionId) {
        this.id = id;
        this.paperId = paperId;
        this.questionId = questionId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }


    @Override
    public String toString() {
        return "PagerQuestion{" +
                "id=" + id +
                ", paperId='" + paperId + '\'' +
                ", questionId='" + questionId + '\'' +
                '}';
    }
}
